

import store from '../store'
import {GETMOVIE} from '../constant/countContant'
import {movieRequest} from '../api/movieRequest'

export const  movieAction =()=>{
  return async ()=>{
    const re = await movieRequest()
    store.dispatch({
      type:GETMOVIE,
      data:re.data.data.list
    })
  }

}




